package com.pcbly.web.bean.crm;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;


public class JhdBean extends AbstractBaseBean {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3732980404589537662L;
	private String gysbh; //供应商编号
	private Date cgDate; //采购日期
	private String state;   //进货单状态
	private String fzr;     //负责人
	private String con;     //条件条款（无效）
	private String ms;      //备注
	private double shuil = 0;
	private double tzje = 0;
	private double total = 0;
	private double fkje = 0;
	private String fklx;	
	private String gysmc;
	private String czr;	
	private String fkzh;	
	private Date yfrq;
	
	private String fkfs; //付款方式：现金，账期
	private double yfje; //预付金额
	private String storeId;//入库仓库
	private int zq;   //账期天数
	private String thFlag;
	
	private double sjcjje; //采购订单实际成交金额 
	
	private Date startDate;
	private Date endDate;
	
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Date getCgDate() {
		return cgDate;
	}
	public void setCgDate(Date cgDate) {
		this.cgDate = cgDate;
	}
	public String getStoreId() {
		return storeId;
	}
	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}
	public String getThFlag() {
		return thFlag;
	}
	public void setThFlag(String thFlag) {
		this.thFlag = thFlag;
	}
	public String getCon() {
		return con;
	}
	public void setCon(String con) {
		this.con = con;
	}
	public String getFzr() {
		return fzr;
	}
	public void setFzr(String fzr) {
		this.fzr = fzr;
	}
	public String getGysbh() {
		return gysbh;
	}
	public void setGysbh(String gysbh) {
		this.gysbh = gysbh;
	} 
	public String getMs() {
		return ms;
	}
	public void setMs(String ms) {
		this.ms = ms;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public String getGysmc() {
		return gysmc;
	}
	public void setGysmc(String gysmc) {
		this.gysmc = gysmc;
	}
	public double getShuil() {
		return shuil;
	}
	public void setShuil(double shuil) {
		this.shuil = shuil;
	}
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public double getTzje() {
		return tzje;
	}
	public void setTzje(double tzje) {
		this.tzje = tzje;
	}
	public String getCzr() {
		return czr;
	}
	public void setCzr(String czr) {
		this.czr = czr;
	}
	public double getFkje() {
		return fkje;
	}
	public void setFkje(double fkje) {
		this.fkje = fkje;
	}
	public String getFklx() {
		return fklx;
	}
	public void setFklx(String fklx) {
		this.fklx = fklx;
	}
	public String getFkzh() {
		return fkzh;
	}
	public void setFkzh(String fkzh) {
		this.fkzh = fkzh;
	}
	public Date getYfrq() {
		return yfrq;
	}
	public void setYfrq(Date yfrq) {
		this.yfrq = yfrq;
	}
	public String getFkfs() {
		return fkfs;
	}
	public void setFkfs(String fkfs) {
		this.fkfs = fkfs;
	}
	public double getYfje() {
		return yfje;
	}
	public void setYfje(double yfje) {
		this.yfje = yfje;
	} 
	public int getZq() {
		return zq;
	}
	public void setZq(int zq) {
		this.zq = zq;
	} 
	public double getSjcjje() {
		return sjcjje;
	}
	public void setSjcjje(double sjcjje) {
		this.sjcjje = sjcjje;
	}
	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}


}
